	<?php if ($reviews) {?>
<ul class="review">
	<?php 
		foreach ($reviews as $j => $review) { 
		if ( isset($this->request->get['page']) && ($this->request->get['page'] > 1)) 
			$j += (($this->request->get['page']-1) * $page_limit );
	?>
	<li class="review_list">
		<span class="review_header">
			<table>
				<tr>
					<td width="10%" class="tb_center"><?php echo $j+1;?></td>
					<td width="50%"><?php echo $review['author']; ?>
						<?php if( $review['new_review']) { ?>
						<img src="catalog/view/theme/default/image/bbs_new.gif" alt="new" style="align:center;vertical-align:middle;"/>
						<?php } ?>
					</td>
					<td width="20%" class="tb_center"><img src="catalog/view/theme/default/image/stars_<?php echo $review['rating'] . '.png'; ?>" alt="<?php echo $review['stars']; ?>" /></td>
					<td width="20%" class="tb_center"><?php echo $review['date_added']; ?></td>
				</tr>
			</table>
		</span>
		
		<span class="review_content">
			<table>
				<tr>
					<td width="10%" class="tb_center"></td>
					<td width="90%" colspan="3" class="review_contentx" >
					<?php if($review['review_img'] != ""){?>
					<a href="<?php echo $review['review_img']; ?>" class="thickbox"><img src="<?php echo $review['review_img_thumb']; ?>" alt="" style="margin:5px;float:right;border:1px solid #ccc"/></a>
					<?php }?>
					<?php echo $review['text']; ?></td>
				</tr>
			</table>
		</span>
	</li>
	<?php } ?>
</ul>
<div class="pagination"><?php echo $pagination; ?></div>
<?php } else { ?>
	<div class="content"><?php echo $text_no_reviews; ?></div>
<?php } ?>

<script type="text/javascript" src="catalog/view/javascript/jquery/thickbox/thickbox-compressed.js"></script>
<script>
// Pagination and Sorting
	Cufon.replace('.sorting a,div.pagination', {
		hover: true
	});
</script>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/thickbox/thickbox.css" />

